package cn.tedu;

import com.alibaba.druid.pool.DruidDataSource;

import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;

public class Demo08 {
    public static void main(String[] args) throws SQLException {
        DruidDataSource ds=new DruidDataSource();
        ds.setUrl("");
        ds.setUsername("");
        ds.setPassword("");

        ds.setInitialSize(3);
        ds.setMaxActive(5);
        Connection conn=ds.getConnection();
        System.out.println();
    }
}
